package com.qys.livesMall.shop.service;


import com.qys.livesMall.finance.model.dto.AccountSearch;
import com.qys.livesMall.finance.model.entity.shop.FinanceShopAccount;
import com.qys.livesMall.framework.view.QysPage;
import com.qys.livesMall.shop.modal.dto.shop.balance.ShopBalanceHandle;
import com.qys.livesMall.shop.modal.dto.shop.balance.ShopBalanceSearch;
import com.qys.livesMall.shop.modal.entity.H2ShopBalance;
import com.qys.livesMall.shop.modal.entity.H2ShopBase;
import com.qys.livesMall.shop.modal.vo.ShopBalanceVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 店铺余额表 服务类
 * </p>
 *
 * @author
 * @since 2023-06-06
 */
public interface H2ShopBalanceService{

    /**
     * 获取
     * @return
     */
    ShopBalanceVO get();

    /**
     * 分页列表
     * @param search
     * @return
     */
    QysPage<ShopBalanceVO> list(AccountSearch search);

    List<FinanceShopAccount> listByUserIds(List<Long> userIds);




    /**
     * 直接进账 不进入冻结
     * @param handle
     * @return
     */
    @Deprecated
    ShopBalanceHandle directIn(ShopBalanceHandle handle);

    /**
     * 直接出帐 不进入冻结
     * @param handle
     * @return
     */
    @Deprecated
    ShopBalanceHandle directOut(ShopBalanceHandle handle);


}
